package com.ihr360.job.core.model;

import java.io.Serializable;

public final class ProgressInfo implements Serializable {

    private static final long serialVersionUID = 7147438490135341696L;

    private String percentInfo;
    private String info;

    private boolean end;
    private boolean successful;

    /**
     * 耗时 秒
     */
    private long totalTime;

    public ProgressInfo() {
    }

    public ProgressInfo(String percentInfo, String info, boolean end, boolean successful, long totalTime) {
        this.percentInfo = percentInfo;
        this.info = info;
        this.end = end;
        this.successful = successful;
        this.totalTime = totalTime;
    }

    public String getPercentInfo() {
        return percentInfo;
    }

    public void setPercentInfo(String percentInfo) {
        this.percentInfo = percentInfo;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public boolean isEnd() {
        return end;
    }

    public void setEnd(boolean end) {
        this.end = end;
    }

    public boolean isSuccessful() {
        return successful;
    }

    public void setSuccessful(boolean successful) {
        this.successful = successful;
    }

    public long getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(long totalTime) {
        this.totalTime = totalTime;
    }
}